/**
 * @version 1.0
 * @author Ha Giang
 * @date 
 */
package Demo;

import DiscoveryFunction.Client;
import DiscoveryFunction.ServiceInfo;

public class DemoClient {
    public static void main(String[] arg) {
        Client c = new Client();
        c.query();
        ServiceInfo si = c.getServiceInfo().get(0);
        c.connectToService(si, 1);
    }
}
